<template>
  <router-view></router-view>
</template>

<script setup>
import { ref } from 'vue';
import { useStore } from "vuex";
import { setTheme } from "@/utils/theme.js";
const store = useStore();
const mColor = ref(store.getters.mainColor);
setTheme(mColor.value);
store.commit("theme/setMainColor", mColor.value);
</script>
